package com.lz.yz.order.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2017/2/28 0028.
 */
@ApiModel(value = "OrderModel", description = "订单对象")
public class OrderModel {

    private String orderNo;

    @ApiModelProperty(value = "对应类型的对象id")
    private Integer objectiveId; //当订单类型为平摊，传入平摊记录主键ID

    @ApiModelProperty(value = "订单类型 1-赋能,2-找大咖 3-平摊 4-GET")
    private Integer orderType;

    private BigDecimal totalPrice;

    @ApiModelProperty(value = "积分抵扣  0-没有,1-有")
    private String backParams;//0没有积分抵扣，1有积分抵扣


    @ApiModelProperty(value = "平摊人数")
    private  Integer aCount;//平摊人数

    @ApiModelProperty(value = "是否尾款知否1.尾款.0.非尾款")
     private String  isExcess;// 1就是尾款

    public void setObjectiveId(int objectiveId) {
        this.objectiveId = objectiveId;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getObjectiveId() {
        return objectiveId;
    }

    public void setObjectiveId(Integer objectiveId) {
        this.objectiveId = objectiveId;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getaCount() {
        return aCount;
    }

    public void setaCount(Integer aCount) {
        this.aCount = aCount;
    }

    public String getBackParams() {
        return backParams;
    }

    public void setBackParams(String backParams) {
        this.backParams = backParams;
    }

    public String getIsExcess() {
        return isExcess;
    }

    public void setIsExcess(String isExcess) {
        this.isExcess = isExcess;
    }
}
